package com.zb.vo;

import com.zb.annotation.NumberPattern;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author WEN
 * @Date 2023/9/27 0027
 **/
@Data
@ApiModel("工单客服分派策略条件子级对象")
public class WorkClientStrategyConditionChildVo {

    @ApiModelProperty(value = "工单客服分派策略ID，新增不必传，修改必传")
    private Long id;

    @ApiModelProperty(value = "条件关联ID")
    private Long valId;

    @Length(max = 50, message = "区域-省长度字符限制 50 个字符以内")
    @ApiModelProperty(value = "省")
    private String province;

    @Length(max = 50, message = "区域-市长度字符限制 50 个字符以内")
    @ApiModelProperty(value = "市")
    private String city;

    @Length(max = 50, message = "区域-区长度字符限制 50 个字符以内")
    @ApiModelProperty(value = "区")
    private String area;

    @Length(max = 50, message = "区域-镇长度字符限制 50 个字符以内")
    @ApiModelProperty(value = "镇")
    private String town;
}
